package com.xiaoyu.awakening.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoyu.awakening.common.core.entity.DbBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户实体
 *
 * @author wangxiaoyu
 * @since v1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_user")
public class UserEntity extends DbBaseEntity {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String userCode;
    private String tenantId;
    private String enName;
    private String cnName;
    private String icon;
    private Long phone;
    private String password;
    private Integer sex;
    private Integer age;
    private String idCard;
    private Integer type;
    private String address;
    private Integer status;
}
